Fretboard component written in React.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 line
440 B

  1. import React, { FC, HTMLAttributes, ReactChild } from 'react'
  2. export interface Props extends HTMLAttributes<HTMLDivElement> {
  3. children?: ReactChild
  4. }
  5. // Please do not use types off of a default export module or else Storybook Docs will suffer.
  6. // see: https://github.com/storybookjs/storybook/issues/9556
  7. export const Thing: FC<Props> = ({ children }) => {
  8. return <div>{children || `the snozzberries taste like snozzberries`}</div>
  9. }