Ryo Matsukawa df0126f93f
refactor(date): updated errorMessage story and modified to import props (#3112)
* refactor(date): updated errorMessage story and modified to import props

* docs(date): add errorMessageFunction examples

* chore: add changeset

* fix: remove unnecessary props

* fix: typo
2024-06-14 21:00:11 -03:00

20 lines
294 B
TypeScript

const App = `import {TimeInput} from "@nextui-org/react";
export default function App() {
return (
<TimeInput
label="Event Time"
isInvalid
errorMessage="Please enter a valid time"
/>
);
}`;
const react = {
"/App.jsx": App,
};
export default {
...react,
};