9.5.0 • Published 2 months ago

@waystone/components v9.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@waystone/components

This is an internal dependency of @waystone/ui

Docs

Click the badge below to view the components in storybook.

Storybook Enabled

Installation

Run the relevant script for your package manager

Package managerScript
npmnpm i @waystone/ui@latest @emotion/react theme-ui
yarnyarn add @waystone/ui@latest @emotion/react theme-ui
pnpmpnpm i @waystone/ui@latest @emotion/react theme-ui

Usage

Import the Waystone component and use it inside your App.tsx

export const App = () => {
  return (
    <StrictMode>
      <Waystone>
        <YourAppHere />
      </Waystone>
    </StrictMode>
  );
};

Customizing the theme

Provide your custom theme into the theme prop of the Waystone component. The default theme will be merged with the one you provide.

export const App = () => {
  return (
    <StrictMode>
      <Waystone
        theme={{
          colors: {
            primary: 'blue',
          },
        }}
      >
        <YourApp />
      </Waystone>
    </StrictMode>
  );
};
9.5.0

2 months ago

9.4.1

2 months ago

9.4.0

2 months ago

9.3.1

3 months ago

9.3.0

3 months ago

9.2.1

3 months ago

9.2.0

3 months ago

9.1.0

9 months ago

9.0.1

9 months ago

9.0.0

9 months ago

8.0.1

11 months ago

7.0.0

12 months ago

6.0.0

12 months ago

5.0.0

1 year ago

4.0.0

2 years ago

3.1.0

2 years ago

3.0.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago