feat(fs.shared): Allow passing className to Popout
This commit is contained in:
parent
65d72ad66e
commit
14a56e4617
1 changed files with 2 additions and 1 deletions
|
@ -30,9 +30,10 @@ const Popout = (props) => {
|
|||
if (props[t]) type = t
|
||||
}
|
||||
const color = colors[type]
|
||||
const { className=''} = props
|
||||
|
||||
return (
|
||||
<div className={`relative my-8 bg-${color} bg-opacity-5`}>
|
||||
<div className={`relative my-8 bg-${color} bg-opacity-5 ${className}`}>
|
||||
<div className={`
|
||||
border-y-4 sm:border-0 sm:border-l-4 px-6 sm:px-8 py-4 sm:py-2 shadow text-base border-${color}`}>
|
||||
<div className={`font-bold flex flex-row gap-1 items-end` }>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue