fix(lib/discord): TextStyleSheet types and export in Design
This commit is contained in:
parent
cad8e1fa7d
commit
51647ef513
2 changed files with 3 additions and 1 deletions
|
|
@ -84,6 +84,8 @@ export interface Design {
|
|||
createStyles: DiscordModules.Components.Styles.CreateStylesFunction
|
||||
useTooltip: DiscordModules.Components.UseTooltipFunction
|
||||
|
||||
TextStyleSheet: DiscordModules.Components.Styles.TextStyleSheet
|
||||
|
||||
ActionSheet: DiscordModules.Components.ActionSheet
|
||||
ActionSheetRow: DiscordModules.Components.ActionSheetRow
|
||||
ActionSheetSwitchRow: DiscordModules.Components.ActionSheetSwitchRow
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ export namespace DiscordModules {
|
|||
| 'redesign/heading-18/bold'
|
||||
| 'eyebrow'
|
||||
|
||||
export type TextStyleSheet = Record<TextVariant, RNTextProps>
|
||||
export type TextStyleSheet = Record<TextVariant, TextStyle>
|
||||
export type CreateStylesFunction = <
|
||||
const S extends Record<
|
||||
string,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue