To use Surff, Install the surff
package and its peer dependencies
(styled-components).
pnpm add surff styled-components
yarn add surff styled-components
npm add surff styled-components
Attribute | Type | Default | Description |
---|---|---|---|
width | number | 60 | Set up the width |
height | number | 60 | Set up the height |
import { Skeleton } from "surff";
function App() {
return (
<>
<Skeleton />
</>
);
}
export default App;