![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@iunigo/ui-kit
Advanced tools
yarn add @iunigo/ui-kit
import { ThemeProvider } from "@iunigo/ui-kit";
export default () => (
<ThemeProvider>
<MyApp />
</ThemeProvider>
)
Inject the theme using Material and styled-componentes ThemeProviders. It uses the mainTheme
Prop | Type | Default |
---|---|---|
theme | Valid theme object | mainTheme |
Default theme.
Access to the theme using a hook.
Print text.
Prop | Type | Default |
---|---|---|
variant | Enum[h1 | h2 | h3 | h4 | h5 | h6 | body1 | body2 | button | caption | overline] | "" |
bold | boolean | false |
... | ... | More props can be checked here |
Same as Text but it allow to indicate a new size for any breakpoint.
Prop | Type | Default |
---|---|---|
xs | [h1 | h2 | h3 | h4 | h5 | h6 | body1 | body2 | button | caption | overline] | "" |
sm | [h1 | h2 | h3 | h4 | h5 | h6 | body1 | body2 | button | caption | overline] | "" |
md | [h1 | h2 | h3 | h4 | h5 | h6 | body1 | body2 | button | caption | overline] | "" |
lg | [h1 | h2 | h3 | h4 | h5 | h6 | body1 | body2 | button | caption | overline] | "" |
xl | [h1 | h2 | h3 | h4 | h5 | h6 | body1 | body2 | button | caption | overline] | "" |
Prop | Type | Default |
---|---|---|
variant | Enum[contained | outlined | Text] | contained |
loading | boolean | false |
... | ... | More props can be checked here |
Prop | Type | Default |
---|---|---|
... | ... | More props can be checked here |
Prop | Type | Default |
---|---|---|
... | ... | You can check more props here |
An alias for <Grid container>
with the default breakpoints
and max-width
rules.
Prop | Type | Default |
---|---|---|
... | ... | You can check more props here |
import { GridContainer, Grid } from "@iunigo/ui-kit";
export default () => (
<GridContainer spacing={3}>
{[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(n => (
<Grid item xs={6} sm={1} md={1}>
<span>
Content
</span>
</Grid>
))}
</GridContainer>
)
Wrap _document in order to inject styles in next js ssr.
import Document, { Html, Head, Main, NextScript } from 'next/document'
import { withNextSSR } from "@iunigo/ui-kit";
class MyDocument extends Document {
static async getInitialProps(ctx) {
const initialProps = await Document.getInitialProps(ctx)
return { ...initialProps }
}
render() {
return (
<Html>
<Head>
<link rel="stylesheet" href="/static/fonts/gt-walsheim/styles.css"/>
</Head>
<body>
<Main />
<NextScript />
</body>
</Html>
)
}
}
// Wrap the document
export default withNextSSR(MyDocument)
FAQs
``` yarn add @iunigo/ui-kit ```
The npm package @iunigo/ui-kit receives a total of 2 weekly downloads. As such, @iunigo/ui-kit popularity was classified as not popular.
We found that @iunigo/ui-kit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.