Mark old components as deprecated (#8747)
* mark a bunch of stuff as deprecated * mark s as deprecated (serverence reference????) * rm type import
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import React, {createContext, ReactNode, useContext} from 'react'
|
||||
import {TextStyle, ViewStyle} from 'react-native'
|
||||
import {type ReactNode} from 'react'
|
||||
import {createContext, useContext} from 'react'
|
||||
import {type TextStyle, type ViewStyle} from 'react-native'
|
||||
|
||||
import {ThemeName} from '#/alf/types'
|
||||
import {type ThemeName} from '#/alf/types'
|
||||
import {darkTheme, defaultTheme, dimTheme} from './themes'
|
||||
|
||||
export type ColorScheme = 'light' | 'dark'
|
||||
@@ -29,6 +30,9 @@ export type Palette = Record<PaletteColorName, PaletteColor>
|
||||
export type ShapeName = 'button' | 'bigButton' | 'smallButton'
|
||||
export type Shapes = Record<ShapeName, ViewStyle>
|
||||
|
||||
/**
|
||||
* @deprecated use typography atoms from `#/alf`
|
||||
*/
|
||||
export type TypographyVariant =
|
||||
| '2xl-thin'
|
||||
| '2xl'
|
||||
|
||||
Reference in New Issue
Block a user