Skip to content

Asking for installation guide & how to use components #7

Answered by hiriski
hey6 asked this question in Q&A
Discussion options

You must be logged in to vote

Currently, there is no guide on how to install and also an example of how to use the component because this library is under development and may change a lot in the future.

If you want to try out the dev version components you can use this configuration theme in your react native project

Create unistyles.ts

import { UnistylesRegistry } from 'react-native-unistyles'
import { theme_lightTheme, theme_darkTheme, theme_breakpoints, ThemeBreakpoints, Themes } from '@kujang/uniui'

declare module 'react-native-unistyles' {
  export interface UnistylesBreakpoints extends ThemeBreakpoints {}
  export interface UnistylesThemes extends Themes {}
}

UnistylesRegistry.addBreakpoints(theme_breakpoints)
  

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hey6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants