Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (22 sloc) 1.1 KB

import {Notification, KIND} from 'baseui/notification';

import Example from '../../components/example'; import Layout from '../../components/layout';

import StyledBasic from 'examples/styled/basic.js';

export default Layout;


<Notification overrides={{Body: {style: {width: 'auto'}}}} kind={KIND.warning}> We recommend using the useStyletron{' '} hook to apply css styles to your html elements. It allows for simpler patterns where not only elements can be reused, but the also the css definitions. See the 'useStyletron' page for additional styletron-related information.

Base Web exports a modified version of Styletron's styled function. This modified version has access to theme variables:

You can’t perform that action at this time.